<?php
/* @var $this UserController */
/* @var $model User */

$this->breadcrumbs=array(
	Yii::t('app', 'Language')=>array('translate'),
	Yii::t('app', 'Translate'),
);

?>

<div class="page-header">
	<div class="page-title"><h3><?php echo Yii::t('app', 'Manage Translate Text' ) ?></h3></div>
</div>

<?php $form = $this->beginWidget('CActiveForm', array(
	'id'=>'new-form',
	'method'=>'post',
	'enableClientValidation'=>true,
)); ?>
<div class="row-fluid">
	<?php echo $form->dropdownList($model, 'language', $model->getLanguageListData()) ?>
</div>
<table class="table table-bordered">
	<thead>
		<tr>
			<th class=""><?php echo Yii::t('app', 'Source') ?></th>
			<th class=""><?php echo Yii::t('app', 'Target') ?></th>
			<th></th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>
				<?php echo $form->textField($model, 'source', array('class'=>'span12')); ?>
			</td>
			<td>
				<?php echo $form->textField($model, 'target', array('class'=>'span12')); ?>
			</td>
			<td>
				<input type="submit" class="btn" value="Save" />
			</td>
		</tr>
	</tbody>
</table>
<?php $this->endWidget(); ?>